package com.eascs.workflow.common.entity.sys;

import java.io.Serializable;
import java.util.Date;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

/**
 * 组织用户关系表
 */
@Entity
@Table(name = "act_org_user")
public class ActOrgUser implements Serializable{
	private static final long serialVersionUID = -2396317829023598290L;
	
	@Id
	@Column(name = "id")
	private String id;
	
	/**o2o组织ID*/
	@Column(name = "org_id")
	private String orgId;
	
	/**用户NO*/
	@Column(name = "user_no")
	private String userNo;
	
	/**是否已删除：0-否，1-是*/
	@Column(name = "is_remove")
	private String isRemove = "0";
	
	/** 创建人编号 */
	@Column(name = "creator")
    private String creatorNo;
    
    /** 修改人编号 */
	@Column(name = "updator")
    private String updatorNo;

    /** 修改日期*/
    @Column(name = "update_time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date updateTime;
    
    /** 创建时间*/
    @Column(name = "create_time")
    @Temporal(TemporalType.TIMESTAMP)
    private Date createTime;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getUserNo() {
		return userNo;
	}

	public void setUserNo(String userNo) {
		this.userNo = userNo;
	}

	public String getIsRemove() {
		return isRemove;
	}

	public void setIsRemove(String isRemove) {
		this.isRemove = isRemove;
	}

	public String getCreatorNo() {
		return creatorNo;
	}

	public void setCreatorNo(String creatorNo) {
		this.creatorNo = creatorNo;
	}

	public String getUpdatorNo() {
		return updatorNo;
	}

	public void setUpdatorNo(String updatorNo) {
		this.updatorNo = updatorNo;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "ActOrgUser [id=" + id + ", orgId=" + orgId + ", userNo=" + userNo + ", isRemove=" + isRemove
				+ ", creatorNo=" + creatorNo + ", updatorNo=" + updatorNo + ", updateTime=" + updateTime
				+ ", createTime=" + createTime + "]";
	}

    
}
